package redis

import "strconv"

func SyncGoodsStock(goodsId, goodsStock int) {
	key := "goods_id_" + strconv.Itoa(goodsId)
	for i := 0; i < goodsStock; i++ {
		RedisClient.RPush(key, goodsId)
	}
}
